package cn.sherer.beans.kuaishou;

import java.io.Serializable;

/**
 * 快手支付信息
 */
public class KsPaymentInfo implements Serializable {
    private int total_amount;
    private String pay_status;
    private long pay_time;
    private String pay_channel;
    private String out_order_no;
    private String ks_order_no;
    private KsPaymentExtraInfo extra_info;
    private boolean enable_promotion;
    private int promotion_amount;
    private String open_id;
    private int order_status;

    /** 支付状态：成功 */
    public static final String PAY_STATUS_SUCCESS = "SUCCESS";
    /** 支付状态：超时 */
    public static final String PAY_STATUS_TIMEOUT = "TIMEOUT";
    /** 支付状态：处理中 */
    public static final String PAY_STATUS_PROCESSING = "PROCESSING";
    /** 支付状态：失败 */
    public static final String PAY_STATUS_FAILED = "FAILED";

    /** 支付渠道：微信 */
    public static final String PAY_CHANNEL_WECHAT = "WECHAT";
    /** 支付渠道：支付宝 */
    public static final String PAY_CHANNEL_ALIPAY = "ALIPAY";
    /** 支付渠道：苹果支付 */
    public static final String PAY_CHANNEL_APPLE_PAY = "APPLE_PAY";
    /** 支付渠道：未知 */
    public static final String PAY_CHANNEL_UNKNOWN = "UNKNOWN";

    public KsPaymentInfo() {
    }

    public KsPaymentInfo(int total_amount, String pay_status, long pay_time, String pay_channel, String out_order_no, String ks_order_no, KsPaymentExtraInfo extra_info, boolean enable_promotion, int promotion_amount, String open_id, int order_status) {
        this.total_amount = total_amount;
        this.pay_status = pay_status;
        this.pay_time = pay_time;
        this.pay_channel = pay_channel;
        this.out_order_no = out_order_no;
        this.ks_order_no = ks_order_no;
        this.extra_info = extra_info;
        this.enable_promotion = enable_promotion;
        this.promotion_amount = promotion_amount;
        this.open_id = open_id;
        this.order_status = order_status;
    }

    public int getTotal_amount() {
        return total_amount;
    }

    public void setTotal_amount(int total_amount) {
        this.total_amount = total_amount;
    }

    public String getPay_status() {
        return pay_status;
    }

    public void setPay_status(String pay_status) {
        this.pay_status = pay_status;
    }

    public long getPay_time() {
        return pay_time;
    }

    public void setPay_time(long pay_time) {
        this.pay_time = pay_time;
    }

    public String getPay_channel() {
        return pay_channel;
    }

    public void setPay_channel(String pay_channel) {
        this.pay_channel = pay_channel;
    }

    public String getOut_order_no() {
        return out_order_no;
    }

    public void setOut_order_no(String out_order_no) {
        this.out_order_no = out_order_no;
    }

    public String getKs_order_no() {
        return ks_order_no;
    }

    public void setKs_order_no(String ks_order_no) {
        this.ks_order_no = ks_order_no;
    }

    public KsPaymentExtraInfo getExtra_info() {
        return extra_info;
    }

    public void setExtra_info(KsPaymentExtraInfo extra_info) {
        this.extra_info = extra_info;
    }

    public boolean isEnable_promotion() {
        return enable_promotion;
    }

    public void setEnable_promotion(boolean enable_promotion) {
        this.enable_promotion = enable_promotion;
    }

    public int getPromotion_amount() {
        return promotion_amount;
    }

    public void setPromotion_amount(int promotion_amount) {
        this.promotion_amount = promotion_amount;
    }

    public String getOpen_id() {
        return open_id;
    }

    public void setOpen_id(String open_id) {
        this.open_id = open_id;
    }

    public int getOrder_status() {
        return order_status;
    }

    public void setOrder_status(int order_status) {
        this.order_status = order_status;
    }

    @Override
    public String toString() {
        return "KsPaymentInfo{" + "total_amount=" + total_amount + ", pay_status=" + pay_status + ", pay_time=" + pay_time + ", pay_channel=" + pay_channel + ", out_order_no=" + out_order_no + ", ks_order_no=" + ks_order_no + ", extra_info=" + extra_info + ", enable_promotion=" + enable_promotion + ", promotion_amount=" + promotion_amount + ", open_id=" + open_id + ", order_status=" + order_status + "}";
    }
}
